package samples.chapter02;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="chapter02.book")
@Data
public class Chapter02Book {
    private String name;
    private String auther;
    private Float price;
}
